package com.lsj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsj.common.utils.PageUtils;
import com.lsj.gulimall.product.entity.AttrEntity;
import com.lsj.gulimall.product.vo.AttrResVo;
import com.lsj.gulimall.product.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author lsj
 * @email 1326646663@qq.com
 * @date 2022-01-06 11:30:26
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params,String type,Long catId);

    void saveAttrDetail(AttrVo attrVo);

    AttrResVo getAttrDetail(Long attrId);

    void updateAttrDetail(AttrVo attrVo);

    List<Long> selectSearchAttrs(List<Long> attrIds);
}

